<el-form ref="form" :model="form" :rules="rules" label-width="120px">
    <el-row>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="归属法人" prop="NAME_AZP">
                    <el-input v-model="form.NAME_AZP" readOnly clearable>
                        <i class="el-icon-search el-input__icon" @click="openAzp" slot="suffix"></i>
                    </el-input>
<!--                    <button type="button" class="layerBtn" @click="openAzpWindow"></button>-->
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="ERP营运中心">
                    <el-input v-model="form.AZP02" readonly></el-input>
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="单据日期" prop="GWEODOCDATE">
                    <el-date-picker
                            v-model="form.GWEODOCDATE"
                            type="date"
                            placeholder="请选择日期"
                            value-format="yyyy-MM-dd"
                            style="width:100%">
                    </el-date-picker>
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="回款单单号" prop="GWEODOCNO">
                    <el-input v-model="form.GWEODOCNO" readonly></el-input>
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="客户名称">
                    <el-input id="gweo006" v-model="form.GWAKL004" readOnly clearable>
                        <i class="el-icon-search el-input__icon" @click="openGwak" slot="suffix"></i>
                    </el-input>
<!--                    <button type="button" class="layerBtn" @click="openGwakWindow"></button>-->
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="币种" prop="GWEO002">
                    <el-input v-model="form.GWEO002" readOnly clearable>
                        <i class="el-icon-search el-input__icon" @click="openBz" slot="suffix"></i>
                    </el-input>
<!--                    <button type="button" class="layerBtn" @click="openGwe002Window"></button>-->
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple ai-layerBtn-icon">
                <el-form-item label="业务部门">
                    <el-input id="gweo008" v-model="form.NAME_ORG" readOnly clearable>
                        <i class="el-icon-search el-input__icon" @click="openOrg" slot="suffix"></i>
                    </el-input>
<!--                    <button type="button" class="layerBtn" @click="openOrgWindow"></button>-->
                </el-form-item>
            </div>
        </el-col>
        <el-col :xs="23" :sm="8" :md="8" :lg="8" :xl="8">
            <div class="grid-content bg-purple">
                <el-form-item label="业务人员">
                    <el-input id="gweo007" v-model="form.NAME_USER" readOnly clearable>
                        <i class="el-icon-search el-input__icon" @click="openUser" slot="suffix"></i>
                    </el-input>
<!--                    <button type="button" class="layerBtn" @click="openUserWindow"></button>-->
                </el-form-item>
            </div>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <div class="pos-re">
                <div class="pos-ab">
                    <el-button type="success" icon="el-icon-plus" size="small" class="z-depth-2" @click="add" :disabled="isDetail">添加</el-button>
                    <el-button type="danger" icon="el-icon-delete" size="small" class="z-depth-2" @click="delRows" :disabled="isDetail">删除</el-button>
                </div>
                <div class="table-responsive">
                    <table id="gwei009_edit_table"
                           class="layui-table"
                           lay-size="sm"
                           lay-filter="gwei009_edit_table">
                    </table>
                </div>
            </div>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right;margin-top: 10px;">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancle">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" :disabled="isDetail" @click="save">保存</el-button>
        </el-col>

    </el-row>

</el-form>
<script>
    require(["pc/crm/gwei009_edit"], $.noop);
</script>
